package com.kupurui.asteacher.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/25.
 */

public class PreviewInfo {

    private boolean is_selector = true;
    /**
     * question : {"q_id":1,"title":"","type":1,"analysis":"好像是选公倍数."}
     * option : [{"a_id":57,"answer":"兔子","q_id":1,"is_true":1,"xuanxiang":"A"}]
     */

    private QuestionBean question;
    private List<OptionBean> option;

    public boolean getIs_selector() {
        return is_selector;
    }

    public void setIs_selector(boolean is_selector) {
        this.is_selector = is_selector;
    }

    public QuestionBean getQuestion() {
        return question;
    }

    public void setQuestion(QuestionBean question) {
        this.question = question;
    }

    public List<OptionBean> getOption() {
        return option;
    }

    public void setOption(List<OptionBean> option) {
        this.option = option;
    }


    public static class QuestionBean {
        /**
         * q_id : 1
         * title :
         * type : 1
         * analysis : 好像是选公倍数.
         */

        private String q_id;
        private String title;
        private String type;
        private String analysis;
        private String star;

        public String getStar() {
            return star;
        }

        public void setStar(String star) {
            this.star = star;
        }

        public String getQ_id() {
            return q_id;
        }

        public void setQ_id(String q_id) {
            this.q_id = q_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAnalysis() {
            return analysis;
        }

        public void setAnalysis(String analysis) {
            this.analysis = analysis;
        }
    }

    public static class OptionBean {
        /**
         * a_id : 57
         * answer : 兔子
         * q_id : 1
         * is_true : 1
         * xuanxiang : A
         */

        private String a_id;
        private String answer;
        private String q_id;
        private String is_true;
        private String xuanxiang;

        public String getA_id() {
            return a_id;
        }

        public void setA_id(String a_id) {
            this.a_id = a_id;
        }

        public String getAnswer() {
            return answer;
        }

        public void setAnswer(String answer) {
            this.answer = answer;
        }

        public String getQ_id() {
            return q_id;
        }

        public void setQ_id(String q_id) {
            this.q_id = q_id;
        }

        public String getIs_true() {
            return is_true;
        }

        public void setIs_true(String is_true) {
            this.is_true = is_true;
        }

        public String getXuanxiang() {
            return xuanxiang;
        }

        public void setXuanxiang(String xuanxiang) {
            this.xuanxiang = xuanxiang;
        }
    }
}
